package com.zhangjianling.premp.server.sys;


import java.util.List;
import java.util.Map;
import com.zhangjianling.premp.entity.sys.Dictionary;
import org.springframework.data.domain.Page;

/**
 * 
 * @author zhangjl
 *
 */
public interface SysDictService {

	Page<Dictionary> pageList(int pageNumber, int pageSize, String sortColom,
							  final Dictionary dict);

	Dictionary saveDict(Dictionary dept);

	void deleteDict(String iD);

	Dictionary findDict(String iD);
	
	List<Dictionary> findTopList();
	
	List<Map<String,Object>> findAll();

	List<Dictionary> getChildres(String parentId);
}
